package com.naire.modul.answer_sort.service;

import net.common.service.GeneralService;
import com.naire.modul.answer_sort.dao.Answer_sortDao;
import com.naire.modul.answer_sort.dao.impl.Answer_sortDaoImpl;
import com.naire.modul.answer_sort.vo.Answer_sortVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class Answer_sortDeleteService extends GeneralService {

	private Answer_sortVo bean;

	@Override
	public void execute() throws Exception {
		Answer_sortDao dao = new Answer_sortDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(Answer_sortVo bean) {
		this.bean = bean;
	}

}
